import request from '@/utils/request'

// 旅行社表列表
export function apiTravelAgencyLists(params: any) {
    return request.get({ url: '/travel.travel_agency/lists', params })
}

// 添加旅行社表
export function apiTravelAgencyAdd(params: any) {
    return request.post({ url: '/travel.travel_agency/add', params })
}

// 编辑旅行社表
export function apiTravelAgencyEdit(params: any) {
    return request.post({ url: '/travel.travel_agency/edit', params })
}

// 删除旅行社表
export function apiTravelAgencyDelete(params: any) {
    return request.post({ url: '/travel.travel_agency/delete', params })
}

// 旅行社表详情
export function apiTravelAgencyDetail(params: any) {
    return request.get({ url: '/travel.travel_agency/detail', params })
}

export function travelAgencyStatus(params: any) {
    return request.post({ url: '/travel.travel_agency/updateStatus', params })
}

export function travelAgencyAll(params?: any) {
    return request.get({ url: '/travel.travel_agency/all', params })
}